nv.Security = function (prefixedTicker) {
    var $this = this;
    $this.exchange = null;
    $this.ticker = null;
    var __construct = function (prefixedTicker) {
        if (!nv.Security.isValidPrefixedTicker(prefixedTicker)) {
            nv.error("[nv.Security] Invalid Prefixed Ticker");
        } else {
            var splits = prefixedTicker.split(":");
            $this.exchange = splits[0];
            $this.ticker = splits[1];
        }
    };
    $this.getPrefixedTicker = function () {
        return $this.exchange + ":" + $this.ticker;
    };
    __construct(prefixedTicker);
};
nv.Security.isValidPrefixedTicker = function (prefixedTicker) {
    if (!prefixedTicker) return false;
    var splits = prefixedTicker.split(":");
    if (splits.length < 2) return false;
    if (nv.String.Trim(splits[0]).length < 1) return false;
    if (nv.String.Trim(splits[1]).length < 1) return false;
    return true;
};